<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
</head>
<body>
  <div>
  <label>部门编号</label>
  <input type="text" name="deptno" value="${dept.deptno }">
  </div>
  <div>
  <label>部门名称</label>
  <input type="text" name="dname" value="${dept.dname}">
  </div>
  <div>
  <input type="submit"  value="${param.actionType =='add'?'添加':'修改' }">
  </div>
</body>
</html>